class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?" {
            constraints {
                // apply constraints here
            }
        }
        /*"/m/"(controller:'login' ,action:'auth'){
            mobile = true

        }*/
        "/tour/$id"(controller:'tour', action:'index') {
            constraints{
                id(matches:/[0-9]*/)
            }
        }
        "/m/$controller/$action?/$id?" {
            mobile = true
            constraints {
                // apply constraints here
            }
        }
        "/"(controller: "info", action: "pendingTask")
        "500"(view: '/error')
    }
}
